package com.dog.modules.message.convert;

import com.dog.modules.message.domain.entity.SmsLog;
import com.dog.modules.message.domain.vo.SmsLogVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 短信日志
*
* @author 阿沐 babamu@126.com
*/
@Mapper
public interface SmsLogConvert {
    SmsLogConvert INSTANCE = Mappers.getMapper(SmsLogConvert.class);

    SmsLogVO convert(SmsLog entity);

    List<SmsLogVO> convertList(List<SmsLog> list);

}